package pe.com.pgn.consolidadorventas.servidorcentral.dbo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@Entity
@Table(name = "CVEN_GLP_VENTA_DETALLES")
@SequenceGenerator(name = "SEQ_CVEN_VENTA_DETALLES", sequenceName = "SEQ_CVEN_VENTA_DETALLES", allocationSize = 1)
public class GlpVentaDetalle implements Serializable{

	private static final long serialVersionUID = 1L;
	
	@Id
	@Column(name = "idVentaDetalles",unique = true, nullable = false)
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "SEQ_CVEN_VENTA_DETALLES")
	private int idVentaDetalle;
	
	@Column(name = "Glp_Ventas_IdVenta")
	private int idVenta;
	
	@Column(name = "docTypeId")
	private String docTypeId;
	
	@Column(name = "nbrDocument")
	private String nbrDocument;

	@Column(name = "siteId")
	private String siteId;
	
	@Column(name = "sequence")
	private int sequence;
	
	@Column(name = "invtidsku")
	private int invtidsku;
	
	@Column(name = "docStatusId")	
	private String docStatusId;
	
	@Column(name = "dateDoc")		
	private Date dateDoc;
	
	@Column(name = "dateProceSales")	
	private Date dateProceSales;

	@Column(name = "perPost")	
	private String perPost;

	@Column(name = "nbrTurn")	
	private int nbrTurn;

	@Column(name = "nbrSide")	
	private String nbrSide;
	
	@Column(name = "porcentTaxIgv")		
	private BigDecimal porcentTaxIgv;
	
	@Column(name = "totalPen")		
	private BigDecimal totalPen;
	
	@Column(name = "taxPen")		
	private BigDecimal taxPen;
	
	@Column(name = "stkItem")		
	private String stkItem;
	
	@Column(name = "slsPrice")		
	private BigDecimal slsPrice;
	
	@Column(name = "slsPriceSale")		
	private BigDecimal slsPriceSale;
	
	@Column(name = "stdCostPen")		
	private BigDecimal stdCostPen;
	
	@Column(name = "descrInventory")		
	private String descrInventory;
	
	@Column(name = "qty")		
	private BigDecimal qty;
	
	@Column(name = "userId")		
	private String userId;

	public int getIdVentaDetalle() {
		return idVentaDetalle;
	}

	public void setIdVentaDetalle(int idVentaDetalle) {
		this.idVentaDetalle = idVentaDetalle;
	}

	public int getIdVenta() {
		return idVenta;
	}

	public void setIdVenta(int idVenta) {
		this.idVenta = idVenta;
	}

	public String getDocTypeId() {
		return docTypeId;
	}

	public void setDocTypeId(String docTypeId) {
		this.docTypeId = docTypeId;
	}

	public String getNbrDocument() {
		return nbrDocument;
	}

	public void setNbrDocument(String nbrDocument) {
		this.nbrDocument = nbrDocument;
	}

	public String getSiteId() {
		return siteId;
	}

	public void setSiteId(String siteId) {
		this.siteId = siteId;
	}

	public int getSequence() {
		return sequence;
	}

	public void setSequence(int sequence) {
		this.sequence = sequence;
	}

	public int getInvtidsku() {
		return invtidsku;
	}

	public void setInvtidsku(int invtidsku) {
		this.invtidsku = invtidsku;
	}

	public String getDocStatusId() {
		return docStatusId;
	}

	public void setDocStatusId(String docStatusId) {
		this.docStatusId = docStatusId;
	}

	public Date getDateDoc() {
		return dateDoc;
	}

	public void setDateDoc(Date dateDoc) {
		this.dateDoc = dateDoc;
	}

	public Date getDateProceSales() {
		return dateProceSales;
	}

	public void setDateProceSales(Date dateProceSales) {
		this.dateProceSales = dateProceSales;
	}

	public String getPerPost() {
		return perPost;
	}

	public void setPerPost(String perPost) {
		this.perPost = perPost;
	}

	public int getNbrTurn() {
		return nbrTurn;
	}

	public void setNbrTurn(int nbrTurn) {
		this.nbrTurn = nbrTurn;
	}

	public String getNbrSide() {
		return nbrSide;
	}

	public void setNbrSide(String nbrSide) {
		this.nbrSide = nbrSide;
	}

	public BigDecimal getPorcentTaxIgv() {
		return porcentTaxIgv;
	}

	public void setPorcentTaxIgv(BigDecimal porcentTaxIgv) {
		this.porcentTaxIgv = porcentTaxIgv;
	}

	public BigDecimal getTotalPen() {
		return totalPen;
	}

	public void setTotalPen(BigDecimal totalPen) {
		this.totalPen = totalPen;
	}

	public BigDecimal getTaxPen() {
		return taxPen;
	}

	public void setTaxPen(BigDecimal taxPen) {
		this.taxPen = taxPen;
	}

	public String getStkItem() {
		return stkItem;
	}

	public void setStkItem(String stkItem) {
		this.stkItem = stkItem;
	}

	public BigDecimal getSlsPrice() {
		return slsPrice;
	}

	public void setSlsPrice(BigDecimal slsPrice) {
		this.slsPrice = slsPrice;
	}

	public BigDecimal getSlsPriceSale() {
		return slsPriceSale;
	}

	public void setSlsPriceSale(BigDecimal slsPriceSale) {
		this.slsPriceSale = slsPriceSale;
	}

	public BigDecimal getStdCostPen() {
		return stdCostPen;
	}

	public void setStdCostPen(BigDecimal stdCostPen) {
		this.stdCostPen = stdCostPen;
	}

	public String getDescrInventory() {
		return descrInventory;
	}

	public void setDescrInventory(String descrInventory) {
		this.descrInventory = descrInventory;
	}

	public BigDecimal getQty() {
		return qty;
	}

	public void setQty(BigDecimal qty) {
		this.qty = qty;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}
	
}
